package com.uatair.system.mapper;

import com.uatair.system.domain.TpPurchaserSn;

import java.util.List;

/**
 * 采购方/甲方飞机对照Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-11
 */
public interface TpPurchaserSnMapper
{
    /**
     * 查询采购方/甲方飞机对照
     * 
     * @param id 采购方/甲方飞机对照主键
     * @return 采购方/甲方飞机对照
     */
    public TpPurchaserSn selectTpPurchaserSnById(Long id);

    /**
     * 查询采购方/甲方飞机对照列表
     * 
     * @param sysPurchaserSn 采购方/甲方飞机对照
     * @return 采购方/甲方飞机对照集合
     */
    public List<TpPurchaserSn> selectTpPurchaserSnList(TpPurchaserSn sysPurchaserSn);

    /**
     * 新增采购方/甲方飞机对照
     * 
     * @param sysPurchaserSn 采购方/甲方飞机对照
     * @return 结果
     */
    public int insertTpPurchaserSn(TpPurchaserSn sysPurchaserSn);

    /**
     * 修改采购方/甲方飞机对照
     * 
     * @param sysPurchaserSn 采购方/甲方飞机对照
     * @return 结果
     */
    public int updateTpPurchaserSn(TpPurchaserSn sysPurchaserSn);

    /**
     * 删除采购方/甲方飞机对照
     * 
     * @param id 采购方/甲方飞机对照主键
     * @return 结果
     */
    public int deleteTpPurchaserSnById(Long id);

    /**
     * 批量删除采购方/甲方飞机对照
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTpPurchaserSnByIds(Long[] ids);

    public TpPurchaserSn selectSysPurchaserBySn(TpPurchaserSn sysPurchaserSn);

    public int deleteTpPurchaserSnBySN(TpPurchaserSn sysPurchaserSn);
}
